﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using SureKAM.BackUp.Notify.Common;

namespace SureKAM.BackUp.Common.Test
{
    public class LogCommonFixture
    {
        [TestFixtureSetUp]
        public  void  FixtureSetUp()
        {
            
        }

        [Test]
        public static void WriteTest()
        {
            LogCommon.Write("add fuile");
            LogCommon.Write("add fuile");
            LogCommon.Write("add fuile");
        }

        [Test]
        public static void  ReadTest()
        {
            string str= LogCommon.Read();
            Assert.IsNotNullOrEmpty(str);
        }

        [Test]
        public static  void ClearTest()
        {
            LogCommon.Clear();
        }
    }
}
